	
	//JAVASCRIPT FUNCTIONS
	function existeLogin(){
		window.location = "menu.php";
		}

	function noexisteLogin(){
		window.location = "login.php";
	}

	function redir(lugar){
		window.location = lugar;
	}
	

	//JQUERY FUNCTIONS
	$(document).ready(
		function(){
			$('#main').hide();
			$('#main').fadeIn(1500);

			$('#txtUsername').focusin(
				function(){
					$('#txtUsername').css("border","2px solid #950000");
				}
			);

			$('#txtUsername').focusout(
				function(){
					$('#txtUsername').css("border","1px");
				}
			);

			$('#txtPassword').focusin(
				function(){
					$('#txtPassword').css("border","2px solid #950000");
				}
			);

			$('#txtPassword').focusout(
				function(){
					$('#txtPassword').css("border","1px");
				}
			);
		}
	);

	/*
			Fabián Barrera.
	*/

